package com.ls.lserp.modules.procurement.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;

/**
 * @author Administrator
 * 原辅料工厂预警数量信息
 */
public class MaterialAlert extends DataEntity<MaterialAlert> {
    
    // 预警数量表主键Id
    private Long          materialAlertId;
    // 关联表(a_factory_s) 服装厂加工Id
    private Long          factoryId;
    // 关联表(i_material_p) 原辅料Id
    private Long          materialId;
    // 原辅料预警数量
    private BigDecimal    materialAlertQuantity;
    // 原辅料最少采购数量
    private BigDecimal    materialLeastQuantity;
    // 预警开始日期
    private Date          materialAlertStartDate;
    // 预警结束日期
    private Date          materialAlertEndDate;
    /**
     * @return the materialAlertId
     */
    public Long getMaterialAlertId() {
        return materialAlertId;
    }
    /**
     * @param materialAlertId the materialAlertId to set
     */
    public void setMaterialAlertId(Long materialAlertId) {
        this.materialAlertId = materialAlertId;
    }
    /**
     * @return the factoryId
     */
    public Long getFactoryId() {
        return factoryId;
    }
    /**
     * @param factoryId the factoryId to set
     */
    public void setFactoryId(Long factoryId) {
        this.factoryId = factoryId;
    }
    /**
     * @return the materialId
     */
    public Long getMaterialId() {
        return materialId;
    }
    /**
     * @param materialId the materialId to set
     */
    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }
    /**
     * @return the materialAlertQuantity
     */
    public BigDecimal getMaterialAlertQuantity() {
        return materialAlertQuantity;
    }
    /**
     * @param materialAlertQuantity the materialAlertQuantity to set
     */
    public void setMaterialAlertQuantity(BigDecimal materialAlertQuantity) {
        this.materialAlertQuantity = materialAlertQuantity;
    }
    /**
     * @return the materialLeastQuantity
     */
    public BigDecimal getMaterialLeastQuantity() {
        return materialLeastQuantity;
    }
    /**
     * @param materialLeastQuantity the materialLeastQuantity to set
     */
    public void setMaterialLeastQuantity(BigDecimal materialLeastQuantity) {
        this.materialLeastQuantity = materialLeastQuantity;
    }
    /**
     * @return the materialAlertStartDate
     */
    public Date getMaterialAlertStartDate() {
        return materialAlertStartDate;
    }
    /**
     * @param materialAlertStartDate the materialAlertStartDate to set
     */
    public void setMaterialAlertStartDate(Date materialAlertStartDate) {
        this.materialAlertStartDate = materialAlertStartDate;
    }
    /**
     * @return the materialAlertEndDate
     */
    public Date getMaterialAlertEndDate() {
        return materialAlertEndDate;
    }
    /**
     * @param materialAlertEndDate the materialAlertEndDate to set
     */
    public void setMaterialAlertEndDate(Date materialAlertEndDate) {
        this.materialAlertEndDate = materialAlertEndDate;
    }
}